package com.weixing.mall.provider.model.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.weixing.mall.core.support.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 商品模块-商品浏览足迹
 * </p>
 *
 * @author Small
 * @since 2019-11-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("gds_goods_visit")
public class GoodsVisit extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 会员id
     */
    private Long memberId;

    /**
     * 商品id
     */
    private Long goodsId;

    /**
     * 搜索信息
     */
    private String information;


    /**
     * 乐观锁
     */
    private Integer revision;



    /**
     * 创建时间
     */
    private Date createdTime;



    /**
     * 更新时间
     */
    private Date updatedTime;

    /**
     * 活动ID
     */
    private Long actId;


    private String goodsImg;
}
